<?php print $this->doctype()?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
	<?php
		print $this->headBase();
    	print $this->headMeta();
    	print $this->headTitle();
    	print $this->headScript();
    	print $this->headLink();
    	print $this->headStyle();
    ?>
</head>

<body>

<div id="wrapper">

	<div id="main">
		<div id="head">
			<h1 class="logo"><a href="">widmogrod.info</a></h1>

			<?php
				/* @var $nav Zend_View_Helper_Navigation_Menu */
				$nav =  $this->getHelper('site')->get('navigation');
				$cot = $nav->getContainer();

				// znajdz aktywną stronę!
				if (null != ($page = $cot->findBy('alias', $this->urlParams('alias')))) {
					$page->setActive(true);
				}

				// tylko 1rwszy poziom 
				print $nav->setMaxDepth(1)->render();
			?>
		</div>

		<div id="content">
			<div class="wrapper">
				<?php print $this->layout()->content; ?>
			</div>
		</div>

	</div>
	
	<div id="sidebar">
		<div class="block">
			<ins class="top"></ins>
			<div class="wrapper">
				<?php print $this->getHelper('site')->get('navigation')->render() ?>
			</div>
			<ins class="bottom"></ins>
		</div>

		<div id="foot">
			<div class="wrapper">
				<p>&copy; 2009 Gabriel Habryn</p>
			</div>
		</div>
		
	</div>
</div>

<div id="hell">
<?php
	include(PUBLIC_PATHNAME . 'seonet_924e616ae184dfd8990697e9a93e9769.php');
	echo manoGetLinks(' ', 'utf-8', '');
?>		
</div>

<?php print $this->inlineScript()?>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-15783411-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
